﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="EditUser.aspx.cs" Inherits="RealEstate.Views.Account.EditUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <fieldset>
        <legend>Edit User</legend>
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2">
                    <label>
                        Client Name:
                    </label>
                    <asp:Label ID="ClientName" runat="server" />
                    <asp:HiddenField ID="UserId" runat="server" />
                    <asp:HiddenField ID="ClientId" runat="server" />
                </td>
            </tr>
            <tr>
                <td width="80px" style="padding-top: 10px">
                    <label for="Username">
                        Username</label>
                </td>
                <td style="padding-top: 10px">
                    <asp:TextBox ID="Username" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="width: 50px; padding-top: 5px">
                    <label for="password">
                        Password</label>
                </td>
                <td style="padding-top: 5px;">
                    <asp:TextBox ID="Password" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-top: 10px">
                    <asp:CheckBox ID="IsActive" runat="server" Text="Active" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-top: 20px">
                    <asp:Button ID="btnCreate" Text="Create User" runat="server" OnClick="btnCreate_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-top: 10px">
                    <asp:Label ID="InvalidCredentialsMessage" runat="server" ForeColor="Red" Text="Your username or password is invalid. Please try again."
                        Visible="False"></asp:Label>
                </td>
            </tr>
        </table>        
    </fieldset>
</asp:Content>
